<html>
<body>
Reports a <code>Pair</code> constructor invocation that can be replaced with a <code>to()</code> infix function call.
<p>
    Explicit constructor invocations may add verbosity, especially if they are used multiple times.
    Replacing constructor calls with <code>to()</code> makes code easier to read and maintain.
</p>
<p><b>Example:</b></p>
<pre><code>
  val countries = mapOf(
      Pair("France", "Paris"),
      Pair("Spain", "Madrid"),
      Pair("Germany", "Berlin")
  )
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  val countries = mapOf(
      "France" to "Paris",
      "Spain" to "Madrid",
      "Germany" to "Berlin"
  )
</code></pre>
<!-- tooltip end -->
</body>
</html>
